crypto/internal/hpke.dhKEM.Encap (method)
2 uses
crypto/internal/hpke (current package)
hpke.go#L88: func (dh *dhKEM) Encap(pubRecipient *ecdh.PublicKey) (sharedSecret []byte, encapPub []byte, err error) {
hpke.go#L227: sharedSecret, encapsulatedKey, err := kem.Encap(pub)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)